// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.content.Intent;
import android.view.View;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import com.nnee.p_pr.p_atom.cls_b;
import com.nnee.p_pr.p_atom.cls_u;
import com.nnee.p_pr.p_d.cls_c;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            SubsSourceActivity, ArticleGalleryActivity

class cls_ag
    implements android.widget.AdapterView.OnItemClickListener
{

	cls_ag(cls_SubsSourceActivity paramSubsSourceActivity1)
    { super();
        a = paramSubsSourceActivity1;
       
    }

    public void onItemClick(AdapterView adapterview, View view, int i, long l)
    {
        cls_u u1 = (cls_u)cls_SubsSourceActivity.k(a).getItem(i);
        if(u1 != null) {
        	 switch(com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).av())
             {
            

             case 256: 
             case 512: 
             case 1024: 
            	 cls_c.a(a.p(), u1.U(), com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).az());

             case 2048: 
            	 Intent intent = new Intent(a, com.nnee.p_pr.p_activity.cls_ArticleGalleryActivity.class);
                 intent.putExtra("nexturl", cls_SubsSourceActivity.j(a));
                 intent.putExtra("title", com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).U());
                 intent.putExtra("position", i);
                 intent.putExtra("operation", com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).av());
                 intent.putExtra("custom_type", com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).be().name());
                 a.startActivityForResult(intent, 4096);
                 break;
             default:
                 break;
             }
        	 cls_ArticleGalleryActivity.a(cls_SubsSourceActivity.l(a), null, com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).U(), i, com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).av(), com.nnee.p_pr.p_activity.cls_SubsSourceActivity.c(a).be());
        }

    }

    final cls_SubsSourceActivity a;
}
